package com.yonyou.sto.modules.ims.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 *
 * </p>
 *
 * @author aegon
 * @since 2020-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ims_party")
@ApiModel(value = "ImsParty对象", description = "")
public class ImsParty implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @NotEmpty
    @ApiModelProperty(value = "组织编码(测试专用20160914001)", required = true)
    private String partySn;

    @NotEmpty
    @ApiModelProperty(value = "组织名称", required = true)
    private String partyName;

    @NotEmpty
    @ApiModelProperty(value = "销售方编码", required = true)
    private String sellerSn;

    @NotEmpty
    @ApiModelProperty(value = "销售方名称", required = true)
    private String sellerName;

    @ApiModelProperty(value = "销售方纳税人识别号(测试专用201609140000001)")
    private String sellerTaxSn;

    @ApiModelProperty(value = "销售方银行账户")
    private String sellerBankAccount;

    @ApiModelProperty(value = "销售方地址")
    private String sellerAddress;

    @ApiModelProperty(value = "销售方电话")
    private String sellerPhone;

    @ApiModelProperty(value = "复核人编码")
    private String verifyUsername;

    @ApiModelProperty(value = "复核人名称")
    private String verifyNickname;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "启用状态：0->禁用；1->启用")
    private Integer status;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
